<template>
  <a-modal
    :title="this.title"
    :visible="this.visible"
    :width="820"
    @cancel="cancel"
    @ok="ok"
  >
    66666666
  </a-modal>
</template>

<script>
  import aModal from "@/common/modal"
  export default {
    inject: ['reload'],                                 //注入App里的reload方法
    name: "regionLimitModal",
    props: ['title', 'visible'],
    components: {
      aModal
    },
    data() {
      return {
      }
    },
    methods: {

      ok(e) {
        this.$emit("cancel", e)
      },
      /*关闭modal*/
      cancel(e) {
        this.$emit("cancel", e)
      },

    },
    created() {
    }
  }
</script>

<style scoped>

</style>
